<%--
  Created by IntelliJ IDEA.
  User: XT
  Date: 2022/5/11
  Time: 17:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改密码</title>
    <link rel="stylesheet" type="text/css" href="easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="easyui/css/default.css" />
    <link rel="stylesheet" type="text/css" href="easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="easyui/css/demo.css">
    <script type="text/javascript" src='easyui/js/outlook2.js'> </script>
    <script type="text/javascript" src="easyui/jquery.min.js"></script>
    <script type="text/javascript" src="easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="easyui/themes/locale/easyui-lang-zh_CN.js"></script>
</head>
<body>

<div class="easyui-panel" title="修改密码" style="width:100%;height:100%;padding:50px 70px 50px 70px" align="center">
    <form action="${pageContext.request.contextPath}/UpdatePassword" method="post">
        <table>
            <tr>
                <td>原&nbsp;密&nbsp;码:</td>
                <td><input id="oldmm" type="password" name="oldpassword" autocomplete="off"></td>
            </tr>
            <tr>
                <td>新&nbsp;密&nbsp;码:</td>
                <td><input id="newmm" type="password" name="newpassword" autocomplete="off"></td>
            </tr>
            <tr>
                <td>确认密码:</td>
                <td><input id="conmm" type="password" name="confirm" autocomplete="off"></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td><input type="submit" value="修改密码" style="margin-left: 40px"></td>
            </tr>
        </table>
    </form>
    <span style="color: green;font-size: 14px;margin-left: 50px">${password}</span>
</div>

</body>
<script type="text/javascript">
    //输入框样式
    $("#oldmm").textbox({
        required:true,
        missingMessage:'原密码不能为空',
    });
    $("#newmm").textbox({
        required:true,
        missingMessage:'新密码不能为空',
    });
    $("#conmm").textbox({
        required:true,
        missingMessage:'请确认新密码',
    });


</script>
</html>
